import request from "@/utils/request";

export function getAlarmRecordList(params) {
  return request({
    url: `/core/alarmRecord/list`,
    method: 'get',
    params
  })
}

export function deleteAlarmRecord(ids) {
  return request({
    url: `/core/alarmRecord`,
    method: 'delete',
    data: ids
  })
}

export function handleAlarmRecord(data) {
  return request({
    url: `/core/alarmRecord/handle`,
    method: 'put',
    data
  })
}
